home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9408 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: gos.ukc.ac.uk!jsr4
  2. From: jsr4@ukc.ac.uk (Monts)
  3. Newsgroups: comp.lang.c++,comp.os.msdos.programmer
  4. Subject: Watcom: producing PIC code?
  5. Date: Fri, 01 Mar 96 15:20:24 GMT
  6. Organization: University of Kent at Canterbury, UK.
  7. Sender: jsr4@ukc.ac.uk
  8. Distribution: world
  9. Message-ID: <14784@gos.ukc.ac.uk>
  10. NNTP-Posting-Host: gos.ukc.ac.uk
  11.  
  12. Hi,
  13.  
  14.   Anyone know if watcom can produce code that is relocatable anywhere?
  15. I want to hack around with some bootsector stuff and just wondered if 
  16. Watcom could do it (ok, assembler is best for this sort of thing but
  17. I was just curious if it was possible with Watcom).
  18.  
  19.   I know Watcom tends to produce huge files too, or at least relatively
  20. so, a simple single printf statement resulted in nearly 10Kb of code
  21. when I had a quick try at this the other day, which seems pretty
  22. ridiculous- any way of getting the code size down and getting rid of
  23. initial overheads? (Unfortunately I haven't got the whole of Watcom
  24. and my CD is elsewhere at the moment, should be getting hold of it
  25. again soon so I can take a proper look through everything)
  26.  
  27. cheers, email replies would be best...
  28.  
  29. ta
  30.  
  31. Jules
  32.  
  33.  
  34. --
  35.  <9~      ..      ..        ---..   ..   .--..---         ..      ..       <9~
  36.  (W) ___.'  `    '  `    .-    ||   ||   |-- `--.  -.    '  `    '  `.___  (W)
  37.              `..'    `..'   __.'`._.'`.__`._.__.'    `..'    `..'
  38.                      Julian Richardson * University of Kent 
  39.